cmake_minimum_required(VERSION 3.10)
project(Test LANGUAGES C CXX) 

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

#查找必要的依赖包
set(OpenCV_DIR "/home/rosen/下载/opencv-4.5.0/build")
find_package(OpenCV 4 REQUIRED)

# 指定生成目标
add_executable(main main.cpp)
add_subdirectory(PoseSolver)
add_subdirectory(Parameter)

# 添加链接库
target_link_libraries(main PoseSolver ) 
